import Layout from '@/views/layout'
export default [{
        name: '首页',
        path: '/',
        // redirect: "/",
        component: () =>
            import ( /* webpackChunkName: "views" */ '@/views/'),

    },
    {
        name: '用户登录',
        path: '/login',
        component: () =>
            import ( /* webpackChunkName: "views" */ '@/views/login')
    },
    {
        name: '分类',
        path: '/typepage',
        component: () =>
            import ( /* webpackChunkName: "views" */ '@/views/typepage/index')
    },
    {
        name: '购物车',
        path: '/cart',
        component: () =>
            import ( /* webpackChunkName: "views" */ '@/views/cart/index')
    },
    {
        name: '我的',
        path: '/my',
        component: () =>
            import ( /* webpackChunkName: "views" */ '@/views/my/index')
    },
    {
        name: '产品',
        path: '/typepage/Allproduct',
        component: () =>
            import ( /* webpackChunkName: "views" */ '@/components/product/allproduct.vue')
    }, {
        name: '产品详情',
        path: '/typepage/productDetails',
        component: () =>
            import ( /* webpackChunkName: "views" */ '@/components/product/productDetails.vue')
    }, {
        name: '订单详情',
        path: '/my/order',
        component: () =>
            import ( /* webpackChunkName: "views" */ '@/components/order/order.vue')
    }
]